/*
 * @Author: ZhanXie
 * @Date: 2020-08-13 14:42:26
 * @LastEditors: ZhanXie
 * @LastEditTime: 2020-08-13 15:09:08
 * @Description: 封装 sequelize 数据类型
 * @FilePath: /weibo/src/db/types.js
 */

const { DataTypes } = require('sequelize')

module.exports = {
  STRING: DataTypes.STRING,
  TEXT: DataTypes.TEXT,
  BOOLEAN: DataTypes.BOOLEAN,
  DECIMAL: DataTypes.DECIMAL,
  INTEGER: DataTypes.INTEGER
}